package aps

import glory.xxd.Utils

/**
 * 批次作业开始-扫设备
 */
class ShowEQPInfoC2eFORe2CController {

    def commentService

    def index() {
        def EQPID = params.EQPID ?: "1FW0801"
        def body = CommentParams.newInstance()
        body.setEQPID(EQPID)
        String logUUID = Utils.getUUID();
        Header header = Header.newInstance()
        header.setMESSAGENAME("ShowEQPInfoC2E");
        header.setTRANSACTIONID(logUUID);

        def json = commentService.getJsonByObjectForTopic2Queue(logUUID, header, body)

//        print "ShowEQPInfoC2eFORe2C" + json
        render json
    }
}
